package com.medusa.aps.business.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum State {

    /**
     * 启用
     */
    ENABLE(1, "启用"),


    /**
     * 禁用
     */
    DISABLE(0, "禁用");

    @EnumValue
    private final Integer code;

    private final String desc;

    State(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
